<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<head>
<title>测试任务查询统计</title>

<link rel="stylesheet" href="../../styles/css/bootstrap.min.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-table.min.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-combobox.css" />
<link rel="stylesheet" href="../../styles/css/bootstrap-dialog.css" />
<link rel="stylesheet"
	href="../../styles/css/bootstrap-datetimepicker.min.css">

<style type="text/css">
.one {
	padding-left: 0px;
	padding-right: 8px;
}
.btn-default,.btn-default:hover{
	background: #337AB7;
	color: #FFFFFF;
}
</style>
<script src="../../jsplugin/jquery.min.js"></script>
<script src="../../jsplugin/bootstrap.min.js"></script>
<script src="../../jsplugin/bootstrap-paginator.min.js"></script>
<script src="../../jsplugin/bootstrap-table.min.js"></script>
<script src="../../jsplugin/bootstrap-table-zh-CN.min.js"></script>
<script src="../../jsplugin/bootstrap-combobox.js"></script>
<script src="../../jsplugin/bootstrap-dialog.js"></script>
<script src="../../jsplugin/bootstrap-datetimepicker.js"></script>
<script src="../../common/common.js"></script>
</head>
<body>
	<div class="panel-body" style="padding-bottom:0px;">
		<div class="panel panel-default">
			<div class="panel-heading">查询条件</div>
			<div class="container-fluid">
				<div class="panel-body col-md-12 one">
					<form id="formSearch" class="form-horizontal">
						<div class="form-group" style="margin-top:10px;padding-top: 15px;">
							<label class="control-label col-md-1">任务名称</label>
							<div class="col-md-2" style="width:170px;">
								<input type="text" class="form-control" id="testTaskName">
							</div>

							<label class="control-label col-md-1" for="caseNumberSearch">任务单位</label>
							<div class="col-md-2" style="width:170px;">
								<select class="combobox form-control" name="inline"
									id="testTaskDepName">
								</select>
							</div>
							<label class="control-label col-md-1" for="astsSysLogLoginTime">开始日期</label>
							<div class='col-md-2' style="width:170px;">
								<div class="form-group">
									<div class='input-group date' id='astsSysLogLoginTime'>
										<input type='text' class="form-control" /> <span
											class="input-group-addon"> <span
											class="glyphicon glyphicon-calendar"></span>
										</span>
									</div>
								</div>
							</div>
							<label class="control-label col-md-1" for="astsSysLogEndTime">结束日期</label>
							<div class='col-md-2' style="width:170px;">
								<div class="form-group">
									<div class='input-group date' id='astsSysLogEndTime'>
										<input type='text' class="form-control" /><span
											class="input-group-addon"><span
											class="glyphicon glyphicon-calendar"></span> </span>
									</div>
								</div>
							</div>
							<div class="col-md-1">
								<button type="button" style="margin-left:50px;width:100px;"
									id="btn_query" class="btn btn-primary col-md-4 col-md-offset-4"
									onclick="queryBytableId('testTaskTablesCX')">查询</button>
							</div>
						</div>
					</form>
				</div>

			</div>
		</div>
		<div id="toolbar" class="btn-group">
			 <button id="btn_exp" type="button" class="btn btn-default" onclick="addTestTask()">
                <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>测试任务详情
            </button>
			  <button id="btn_exp" type="button" class="btn btn-default" onclick="taskExport()">
                <span class="glyphicon glyphicon-log-out" aria-hidden="true"></span>导出报表
            </button>
		</div>
		<table id="testTaskTablesCX" style="min-width:1800px;table-layout:fixed"></table>
	</div>




	<script type="text/javascript">
		$(function() {
			var picker1 = Picker("astsSysLogLoginTime");
			var picker2= Picker("astsSysLogEndTime");
			picker1.on('changeDate', function(e) {
				picker2.datetimepicker('setStartDate', e.date);
			});
			picker2.on("changeDate",function(e) {
				picker1.datetimepicker('setEndDate', e.date);
			});
		});
	</script>
</body>
<link rel="stylesheet" href="../../styles/css/skinBlue.css"
	id="skinColour">
<script src="../../common/myAlert.js"></script>
<script type="text/javascript" src="../js/testTask.js"></script>
</html>